<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta http-equiv="Expires" content="0">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-control" content="no-cache">
    <meta http-equiv="Cache" content="no-cache">
    <title>验货核对单</title>
    <link rel="shortcut icon" type="image/x-icon" href="/images/logo.ico" />
    <link rel="stylesheet" type="text/css" href="/layui/css/layui.css?v=202001010101" />
    <link rel="stylesheet" type="text/css" href="/css/font-awesome.min.css?v=202001010101" />
    <link rel="stylesheet" type="text/css" href="/css/style.css?v=202001010101">
    <link rel="stylesheet" type="text/css" href="/css/print.css?v=202001010101">
    <style type="text/css">
        .original-info{text-decoration: line-through;}
        .new-info{color: #ff0000;}
        @page { size: landscape; }
    </style>
</head>
<body>
<div class="pring-page">
    <div class="print-btns layui-form">
        <button type="button" class="layui-btn layui-btn-primary layui-btn-sm" onclick="javascript:window.print()"><i class="fa fa-print"></i> 打印</button>
    </div>
    <div class="main">
        <div class="page-break">
            <div id="conTempView"></div>
        </div>
    </div>
</div>
<script type="text/html" id="conTemp">
    <div class="head">
        <div class="title22">核对单</div>
    </div>
    <table style="width: 100%;margin-top: 8px;">
        <tr>
            <td width="90">日期： </td>
            <td width="40%">{{d.order.orderDate}}</td>
            <td width="90">订单号：</td>
            <td>{{d.order.docNo}}</td>
        </tr>
        <tr>
            <td>客户：</td>
            <td>{{d.order.customerName}}</td>
            <td>供应商：</td>
            <td>{{d.order.supplierName}}</td>
        </tr>
    </table>
    <div class="printArea" style="margin-top: 8px">
        <table>
            <thead>
            <tr>
                <th>序号</th>
                <th>名称</th>
                <th>品牌</th>
                <th>型号</th>
                <th>产地</th>
                <th>数量</th>
                <th>单位</th>
                <th>单价</th>
                <th>币制</th>
                <th>总价</th>
                <th>箱数</th>
                <th>箱号</th>
                <th>净重(KG)</th>
                <th>毛重(KG)</th>
                <th>入库单号</th>
                <th>申报要素</th>
                <th>规格参数</th>
            </tr>
            </thead>
            <tbody>
            {{# $.each(d.members,function(i,o){}}
            <tr mid="{{o.id}}">
                <td style="text-align: center">{{i+1}}</td>
                <td><div name>{{o.name}}</div></td>
                <td><div brand>{{o.brand}}</div></td>
                <td><div model>{{o.model}}</div></td>
                <td><div countryName>{{o.countryName}}</div></td>
                <td style="text-align: right"><div quantity>{{formatCurrency(o.quantity)}}</div></td>
                <td style="text-align: center"><div unitName>{{o.unitName}}</div></td>
                <td style="text-align: right"><div unitPrice>{{o.unitPrice}}</div></td>
                <td style="text-align: center"><div currencyName>{{d.order.currencyName}}</div></td>
                <td style="text-align: right"><div totalPrice>{{formatCurrency(o.totalPrice)}}</div></td>
                <td style="text-align: right"><div cartonNum>{{o.cartonNum}}</div></td>
                <td><div cartonNo>{{removeNull(o.cartonNo)}}</div></td>
                <td style="text-align: right"><div netWeight>{{o.netWeight}}</div></td>
                <td style="text-align: right"><div grossWeight>{{o.grossWeight}}</div></td>
                <td>{{removeNull(o.receivingNoteNo).replace(',','<br/>')}}</td>
                <td style="text-align: left"><div>{{removeNull(o.declareSpec)}}</div></td>
                <td style="text-align: left"><div>{{removeNull(o.spec)}}</div></td>
            </tr>
            {{#});}}
            <tr>
                <td colspan="5">合计</td>
                <td style="text-align: right"><div tquantity>{{formatCurrency(d.total.tquantity)}}</div></td>
                <td></td>
                <td></td>
                <td></td>
                <td style="text-align: right"><div ttotalPrice>{{formatCurrency(d.total.ttotalPrice)}}</div></td>
                <td style="text-align: right"><div tcartonNum>{{d.total.tcartonNum}}</div></td>
                <td></td>
                <td style="text-align: right"><div tnetWeight>{{formatCurrency(d.total.tnetWeight)}}</div></td>
                <td style="text-align: right"><div tgrossWeight>{{formatCurrency(d.total.tgrossWeight)}}</div></td>
                <td></td>
                <td></td>
                <td></td>
            </tr>
            </tbody>
        </table>
    </div>
</script>
<script type="text/javascript" src="/js/jquery.min.js?v=202001010101"></script>
<script type="text/javascript" src="/layui/layui.js?v=202001010101"></script>
<script type="text/javascript" src="/js/app.js?v=202006010928"></script>
<script type="text/javascript" src="/order/imp/print-checklist.js?v=202001010102"></script>
</body>
</html>